package com.hbnu.zhouxunfa;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;

public class MultePicServer {
    public static void main(String[] args) {
        try {
            ServerSocket ss = new ServerSocket(8080);
           while (true){
               Socket socket = ss.accept();
               MyRun myRun = new MyRun(socket);
               new Thread(myRun).start();
           }
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
